package com.design.中介者模式;

import java.util.Date;

/**
 * @author: sun.hongliang
 * @create: 2019/09/02 18:12
 */
public class ChatRoom {
    public static void showMessage(User user, String message) {
        System.out.println(new Date().toString() + " [" + user.getName() + "] : " + message);
    }
}
